#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>

int main()
{
    char op;
    int a, b;

    while (scanf("%d %c %d", &a, &op, &b) == 3) {
        switch (op) {
        case '+':
            printf("%d\n", a + b);
            break;
        case '-':
            printf("%d\n", a - b);
            break;
        case '*':
            printf("%d\n", a * b);
            break;
        case '/':
            printf("%lf\n", (double)a / b);
            break;
        default:
            break;
        }
    }


    return 0;
}